package com.shujia;

public class Demo2 {

    public static void main(String[] args) throws ClassNotFoundException, IllegalAccessException, InstantiationException {

        Class<?> aClass = Class.forName(args[0]);

        Person o = (Person) aClass.newInstance();

        o.chiFan();


    }
}
